body {
    background-color: #f0f0f0;
}
.main {
    width: 1180px;
    height: 700px;
    margin: 0 auto;
    position: relative;
}
.main .box {
    width: 1180px;
    height: 600px;
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
    position: relative;
    margin-top: 30px;
    position: relative;
}

.main .box .show {
  width: 450px;
  height: 450px;
  position: relative;
  cursor: none;
}
.main .box .show img {
    width: 100%;
    height: 100%;
}
.main .show .mask {
    width: 200px;
    height: 200px;
    background-color: yellow;
    opacity: 0.5;
    position: absolute;
    left: 100px;
    top: 100px;
    /* 该元素不作为事件目标 */
    pointer-events: none;
    display: none;
}

.main .list {
    flex: 1;
    width: 450px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: 20px;
}

.main .list img {
    width: 54px;
    height: 54px;
    border: 1px solid #333;
    cursor: pointer;
}

.main .list img.active {
    border-color: orange;
}

.main .enlarge {
    width: 400px;
    height: 400px;
    overflow: hidden;
    position: absolute;
    left: 500px;
    top: 0;

    display: none;
    z-index: 999;
}

.main .enlarge img {
    width: 800px;
    height: 800px;
    position: absolute;
    left: 0;
    top: 0;
}
.main .box .right {
    width: 670px;
    height: 450px;
    position: absolute;
    top: 0;
    right: 0;
}
.main .box .right .title {
    width: 100%;
    height: 40px;
    line-height: 40px;
    margin: 10px 0px 30px;
    font-size: 25px;
    font-weight: bold;
}
.main .box .right .summary {
    height: 40px;
    line-height: 40px;
    margin: 10px 0px 30px;
    font-size: 20px;
    color: #F63;
}
.main .box .right .info {
    width: 100%;
    height: 240px;
    font-size: 20px;
}
.main .box .right .info p {
    margin: 20px 0px;
}
.main .box .right .info p .price {
    color: #fa5437;
    font-weight: 600;
    font-size: 24px;
}
.main .box .right .info p .old-price {
    font-size: 12px;
    font-style: normal;
    margin-right: 3px;
    text-decoration: line-through;
}
.main .box .right .info p .coup {
    border: 1px solid #fa5437;
    color: #fa5437;
}
.main .box .right button {
    width: 150px;
    height: 50px;
    border-radius: 5px;
    border: none;
    background-color: #F63;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    margin-top: 150px;
}
.main .box .right .cartBtn {
    margin-right: 150px;
    background-color: #FFEBE9;
    color: #F63;
}